<template>
  <div class="pop-wrapper">
    <svgIcon size="100px" :name="iconName"></svgIcon>
  </div>
</template>

<script lang="ts" setup>
import svgIcon from "@/components/svg/index.vue";
import { ref, onMounted } from "vue";
import { useMapStore } from "@/store/map";
const mapStore = useMapStore();
const iconName = ref("");
onMounted(() => {
  iconName.value = mapStore.selectPlottingName;
});
</script>

<style lang="scss" scoped>
.pop-wrapper {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100px;
  height: 100px;
  // background-color: rgba(0, 0, 0, 0.3);
}
</style>
